package com.basic.library.binding.viewadapter.recyclerview;

import com.basic.library.base.BaseViewModel;
import com.basic.library.brvah.MBaseViewHolder;

/**
 * @author yj
 * @description
 */
public class SimpleViewModel<T, K extends MBaseViewHolder> {
    public BaseViewModel model;
    public EasyAdapterModel<T, K> adapterModel;
    public boolean swipeEnabled;

    public SimpleViewModel(BaseViewModel model, EasyAdapterModel<T, K> adapterModel) {
        this.model = model;
        this.adapterModel = adapterModel;
    }

    public SimpleViewModel(BaseViewModel model, EasyAdapterModel<T, K> adapterModel, boolean swipeEnabled) {
        this.model = model;
        this.adapterModel = adapterModel;
        this.swipeEnabled = swipeEnabled;
    }
}
